from selenium import webdriver
from selenium.webdriver.common.by import By
from selenium.webdriver import ActionChains
import time
d = webdriver.Chrome()
d.get('https://mail.163.com')

frame = d.find_element(By.CSS_SELECTOR,'[frameborder="0"]')
d.switch_to.frame(frame)
email = d.find_element(By.CSS_SELECTOR,'[name="email"]')
email.send_keys('admin123')
d.switch_to.default_content()
ele = d.find_element(By.LINK_TEXT,'修复公示')
ele.click()





time.sleep(5)
d.quit()